﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Models {
  [Table("roles")]
  public class RoleInfo {
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    [Column("role_id")]
    public int RoleId { get; set; }
    [Column("role_name")]
    public string RoleName { get; set; }
    [DefaultValue(1)]
    public int state { get; set; }

  }
}
